const state = {
	//存储个人信息
	user: {},
}

const mutations = {
	// 更新个人信息值
	updateUserInfo(state, user) {
		state.user = user;
		console.log(state.user);
	},
	//清除token
	clearUserInfo(state) {
		state.user = {};
	},

}

const actions = {

}



export default {
	state,
	actions,
	mutations
}